package CreationMode.simpleFactory.coffee;

/**
 * 简单工厂模式
 */
public class Client {
    public static void main(String[] args) {
         CoffeeFactory coffeeFactory = new CoffeeFactory();
         Coffee coffee = coffeeFactory.createCoffe(CoffeeType.LATTE);
         coffee.show();

        Coffee coffee2 = coffeeFactory.createCoffe(CoffeeType.AMERICANO);
        coffee2.show();
    }
}
